class Mugshot < ActiveRecord::Base  
has_attachment :content_type => :image,  
                 :storage => :file_system,  
                 :max_size => 1.megabytes,
                 :thumbnails => { :thumb => '80x80>' },
                 :path_prefix => 'public/images/mugshots'  
validates_as_attachment 
end 
